package com.cloud.alibaba.producer.event;


import com.alibaba.fastjson.JSON;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class AppNotifyEventHanlder {

    @EventListener
    public void handlerApp(AppNotifyEvent appNotifyEvent){
        System.out.println("JSON.toJSONString(appNotifyEvent) = " + JSON.toJSONString(appNotifyEvent));
    }
}
